//
//  CALayer+XibColor.m
//  SmartEstateCC
//
//  Created by 初唐科技 on 2018/1/30.
//  Copyright © 2018年 pretang. All rights reserved.
//

#import "CALayer+XibColor.h"

@implementation CALayer (XibColor)

- (void)setXibBorderColor:(UIColor *)xibBorderColor
{
    self.borderColor = xibBorderColor.CGColor;
}

- (UIColor *)xibBorderColor
{
    return [UIColor colorWithCGColor:self.borderColor];
}

- (void)setXibShadowColor:(UIColor *)xibShadowColor
{
    self.shadowColor = xibShadowColor.CGColor;
}

- (UIColor *)xibShadowColor
{
    return [UIColor colorWithCGColor:self.shadowColor];
}

@end
